package cn.car91.bean;

import java.util.Date;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.Table;

@Table(name="car_search")
public class SearchInfo {
    @Id(column="id")
    private int id;
    @Column(column="type")
    private int type;   //搜索类型，0为周边，1为商家，2为文章，3为曝光
    @Column(column="key")
    private String key; //搜索关键字
    @Column(column="date")
    private Date date;  //搜索时间
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public Date getDate() {
        return date;
    }
    public void setDate(Date date) {
        this.date = date;
    }
}
